home *** CD-ROM | disk | FTP | other *** search
- Path: news.uh.edu!UHSFIN!SAPSADEB
- From: sapsadeb@UHSFIN.UHSA.UH.EDU
- Newsgroups: comp.lang.c,comp.os.vms
- Subject: Re: Problems with DEC C
- Date: 19 Jan 1996 23:07:29 GMT
- Organization: University of Houston System
- Distribution: world
- Message-ID: <4dp87h$mml@masala.cc.uh.edu>
- References: <4dojfi$31a@news.aero.org>
- Reply-To: sapsadeb@UHSFIN.UHSA.UH.EDU
- NNTP-Posting-Host: uhsfin.uhsa.uh.edu
-
- In article <4dojfi$31a@news.aero.org>, johnson@halley.aero.org ("Wowbagger the Infinitely Prolonged") writes:
- >
- >
- >I have been trying to install XV 3.10, NETPBM, and XANIM on my VMSCluster.
- >I have Alphas and VAXStations running OpenVMS 6.2 and DEC C 5.2. I keep
- >getting errors such as:
- >
- > typedef unsigned char u_char;
- >.........................^
- >%CC-E-NOLINKAGE, In this declaration, "u_char" has no linkage and has a prior
- >declaration in this scope at line number 304 in file
- >SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;3.
- >at line number 82 in file PD$ROOT:[X11.MISC.XV310]XV.H;1
- >
- >I get similar errors for u_int, u_short, u_int, and u_long. Has anyone seen
- >errors like these? How do I get around them? I don't think it is simply a
- >question of using /DECC vs. /VAXC.
- >
- >TIA.
- >--------------------------------------------------------------
- >Rick Johnson |
- >The Aerospace Corporation | "I thought, therefore I was"
- >email: johnson@halley.aero.org |
- >phone: (310)336-3588 | - Descartes...now
- >
-
- Yes.
-
- The header file types.h has been changed.
-
- You can usually get around errors caused by this by using
- /define=("_DECC_V4_SOURCE")
-
- Code written to use Multinet 3.4 which includes Multinet's netdb.h
- header needs to be compiled with
- /define=("__SOCKET_TYPEDEFS","_DECC_V4_SOURCE").
- I have heard that Multinet 3.5 does not need this one though.
-
- BTW, the header file stdlib.h no longer includes types.h, so you
- may get stung by that one too.
-
- David Bratton
- University of Houston System
- DBratton@uh.edu
-